package com.denso.store.common;

/**
 * Created by lijian on 2017/10/23.
 */
public class Status {
    public static final int WAIT = 0;
    public static final int ARRIVE = 1;
    public static final int PASS = 2;
    public static final int IN = 3;
    public static final int OUT = 4;

    public static String getStr(int statusCode) {
        switch (statusCode) {
            case WAIT:
                return "等待到达";
            case ARRIVE:
                return "已到达";
            case PASS:
                return "准许入场";
            case IN:
                return "已入场";
            case OUT:
                return "已离场";
            default:
                return "未知状态码:" + statusCode;
        }
    }
}
